/**
 * 按原型只有一个新建按钮
 */
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Button } from 'antd';

const styles = {
	bv: {
		textAlign: 'right',
		margin: '1em 0'
	}
};

class Filter extends Component {
	render() {
		return (
			<div style={styles.bv}>
				<Button onClick={this.props.new} icon="plus" className="opt-but">新建角色</Button>
			</div>
		);
	}
}

Filter.propTypes = {

};

export default Filter;
